﻿namespace SilverLua.Runtime
{
   /// <summary>
   /// A sequence of SilverLua VM instructions.
   /// </summary>
   internal class Chunk
   {
      internal Instruction[] Instructions { get; private set; }
      internal int LocalCount { get; private set; }
      
      internal Chunk(Instruction[] instructions, int localCount)
      {
         Instructions = instructions;
         LocalCount = localCount;
      }
   }
}
